package com.zhuss.bean.bo.meeting.apply;

import com.zhuss.common.AbstractBo;
import com.zhuss.common.BaseBo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Author: zhushanshuo
 * @Date: 2020/2/13 20:03
 */
public class UpdateApplyBo extends AbstractBo implements Serializable, BaseBo {

    /**
	 * 
	 */
	private static final long serialVersionUID = -4653636968141978276L;
	
	private Long applyId;//主表ID
    private Long roomId;//会议室ID
    private String roomName;//会议室名称
    private String applyDepartment;//申请人部门
    private String applyMobileNo;//申请人电话
    private String theme;//会议主题
    private Date startTime;//会议开始时间
    private Date endTime;//会议结束时间
    private Integer personNum ;//参会人数
    private String stageTables;//主席台台牌
    private Integer stagePerson ;//主席台人数
    private String screenSlogan;//屏幕标语
    private List<Integer> demand;//需求
    private String other;//其它
    private Integer status ;//状态
    private Integer area ;//区域

    public Long getApplyId() {
        return applyId;
    }

    public void setApplyId(Long applyId) {
        this.applyId = applyId;
    }

    public Long getRoomId() {
        return roomId;
    }

    public void setRoomId(Long roomId) {
        this.roomId = roomId;
    }

    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    public String getApplyDepartment() {
        return applyDepartment;
    }

    public void setApplyDepartment(String applyDepartment) {
        this.applyDepartment = applyDepartment;
    }

    public String getApplyMobileNo() {
        return applyMobileNo;
    }

    public void setApplyMobileNo(String applyMobileNo) {
        this.applyMobileNo = applyMobileNo;
    }

    public String getTheme() {
        return theme;
    }

    public void setTheme(String theme) {
        this.theme = theme;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getPersonNum() {
        return personNum;
    }

    public void setPersonNum(Integer personNum) {
        this.personNum = personNum;
    }

    public String getStageTables() {
        return stageTables;
    }

    public void setStageTables(String stageTables) {
        this.stageTables = stageTables;
    }

    public Integer getStagePerson() {
        return stagePerson;
    }

    public void setStagePerson(Integer stagePerson) {
        this.stagePerson = stagePerson;
    }

    public String getScreenSlogan() {
        return screenSlogan;
    }

    public void setScreenSlogan(String screenSlogan) {
        this.screenSlogan = screenSlogan;
    }

    public String getDemand() {
        StringBuffer sb = new StringBuffer();
        if (demand != null && demand.size() > 0){
            for (Integer item : demand){
                sb.append(item);
                sb.append(",");
            }
            sb.deleteCharAt(sb.lastIndexOf(","));
        }
        return sb.toString();
    }

    public void setDemand(List<Integer> demand) {
        this.demand = demand;
    }

    public String getOther() {
        return other;
    }

    public void setOther(String other) {
        this.other = other;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getArea() {
        area = getConcurrentArea();
        return area;
    }

    public void setArea(Integer area) {
        this.area = area;
    }
}
